<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/cms/article/contentlistdialog" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>
  <div class="page">
    <!-- <div id="page_header" class="actions" style="display:inline-block;_display:inline;*display:inline;">
          <div style="text-align:left;display:inline-block;_display:inline;*display:inline;">
            <php>$alist = str_replace("cid","dialog_cid",$alist);</php>
            栏目列表：{$alist} &nbsp;&nbsp;&nbsp;&nbsp;文章标题：
            <input class="input4" type="text" name="title" id="dialog_title" value="{$title}" />
            <input id="searchbtn" type="button" onclick="searchData()" value="搜索" />
          </div>
        </div> -->
    <div class="filterbar">
      <php>$alist = str_replace("cid","dialog_cid",$alist);</php>
      栏目列表：{$alist}
      <label for="">文章标题</label>
      <input type="text" name="title" id="dialog_title" value="{$title}" class="input-text">
      <input type="hidden" id="siteid" value="{$sid}" />
      <button type="button" class="btn-search" id="J_search" title="搜索">
        <i class="icon-search"></i>
      </button>
    </div>
    <div class="datas">
      <div class="datas-bd" id="page_content">
        <table class="table" id="table1" style="min-width: 600px">
          <thead>
            <tr>
              <th style="">
                <strong>
                  <input type="checkbox" class="toggle-all"/>
                </strong>
              </th>
              <th style="">
                <strong>文章标题</strong>
              </th>
              <th style="">
                <strong>创建人</strong>
              </th>
              <th style="">
                <strong>最后修改时间</strong>
              </th>
            </tr>
          </thead>
          <tbody>
            <volist name="list" id="vo">
              <tr data-id="{$vo['id']}" data-value="{$vo['id']}_yl_{$vo['title']}_yl_{$vo['cid']}">
                <td>
                  <input type="checkbox" class="toggle">
                </td>
                </td>
                <td>
                  <a href="{:URL('cms/Article/addcontent',array('id'=>$vo['id'],'type'=>$vo['classid'],'sid'=>$sid,'source'=>1))}">
                    <if condition="$vo['is_color'] eq '1'">
                      <font color="red">{$vo['title']}</font>
                      <else/>{$vo['title']}
                    </if>
                  </a>
                  <neq name="vo.imageurl" value="">
                    <img src="./apps/cms/Appinfo/img.gif">
                  </neq>
                  <eq name="vo.is_recommend" value="1">
                    <img src="./apps/cms/Appinfo/recommend.gif">
                  </eq>
                  <eq name="vo.is_top" value="1">
                    <img src="./apps/cms/Appinfo/top.gif">
                  </eq>
                  <eq name="vo.is_hot" value="1">
                    <img src="./apps/cms/Appinfo/hot.gif">
                  </eq>
                </td>
                <td>{$vo['create_uname']}</td>
                <td>{$vo['updatetime']|date="Y-m-d H:i",###}</td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
    </div>

    <div class="pager" style="text-align: right">{$page}</div>
  </div>
</body>

</html>
